/*
 * CarBundle.h
 *
 *  Created on: 30/10/2011
 *      Author: godinho
 */

#ifndef CARBUNDLE_H_
#define CARBUNDLE_H_

class CarBundle {
public:
	CarBundle(int qnt, int timestepsToArrive);

	virtual ~CarBundle();

	/**
	 * Decrement the numbers of steps until these cars arrive on the next node.
	 *
	 * @return true if cars arrived.
	 */
	bool decrementTimestepsToArrive();

	int getQuantity();

private:
	int mQnt;
	int mTimestepsToArrive;
};

#endif /* CARBUNDLE_H_ */
